{loop $data $n $r}
<li><a href="{video_show_url("$r[vid]","$r[url]")}" class="img_padding"><img src="{$r[thumb]}" width="{$width}" height="{$height}"/></a><h2><a href="{video_show_url("$r[vid]","$r[url]")}">{str_cut($r[title],50,'..')}</a></h2></li>
{/loop}